package com.quectel.core.module.alarm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 租户单独设置的告警阈值
 *
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2021-10-19 14:09:09
 */
@Data
@Schema
public class AlarmRuleTenantConditionDto implements Serializable {

    /**
     * ID
     */
    @Schema(description = "ID")
    private Long id;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 所属告警规则
     */
    @Schema(description = "所属告警规则")
    private Long ruleId;

    /**
     * 租户自定义规则数组
     */
    @Schema(description = "租户自定义规则数组")
    private String alarmRuleConditionJson;

    /************非数据库字段 start ************/


    /************非数据库字段 end **************/
}
